#!/bin/bash

set -x

BASE_CONF=$HOME/.config/kitty/base.conf
KITTY_CONF=$HOME/.config/kitty/kitty.conf

if [[ -f $BASE_CONF ]]; then
    rm -f $BASE_CONF
fi

if [[ -f $KITTY_CONF ]]; then
    rm -f $KITTY_CONF
fi

ln -s $HOME/Projects/notes/config/kitty/base.conf $BASE_CONF

if [[ $(uname -s) = "Darwin" ]]; then
    ln -s $HOME/Projects/notes/config/kitty/macos.conf $KITTY_CONF
elif [[ $(uname -s) = "Linux" ]]; then
    ln -s $HOME/Projects/notes/config/kitty/linux.conf $KITTY_CONF
fi

